home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-12-30 | 8.3 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Mon Dec 30 10:28:40 1991, modified Mon Dec 30 10:28:40 1991, creator Think C, type ASCII, 7761 bytes "help.c" , at 0x1ed1 492 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
49%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
33%
| TrID
| TTComp archive compressed (bin-4K)
| default (weak)
| |
16%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 68 65 6c 70 2e 63 | 00 00 00 00 00 00 00 00 |..help.c|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 1e 51 00 | 00 01 ec a5 84 eb a8 a5 |......Q.|........|
|00000060| 84 eb a8 00 00 04 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ea 28 00 00 |........|.....(..|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 0d 20 22 68 65 6c |********|**. "hel|
|000000c0| 70 2e 63 22 0d 0d 20 62 | 79 20 4a 6f 68 6e 20 41 |p.c".. b|y John A|
|000000d0| 2e 20 4c 6f 76 65 2c 20 | 49 49 49 20 5b 20 57 61 |. Love, |III [ Wa|
|000000e0| 73 68 69 6e 67 74 6f 6e | 20 41 70 70 6c 65 20 50 |shington| Apple P|
|000000f0| 69 20 55 73 65 72 73 27 | 20 47 72 6f 75 70 5d 0d |i Users'| Group].|
|00000100| 0d 20 75 73 69 6e 67 20 | 53 79 6d 61 6e 74 65 63 |. using |Symantec|
|00000110| 27 73 20 22 54 48 49 4e | 4b 20 43 22 2c 20 76 20 |'s "THIN|K C", v |
|00000120| 35 2e 30 30 0d 20 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |5.00. **|********|
|00000130| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000140| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000150| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2f |********|*******/|
|00000160| 0d 0d 0d 23 69 66 6e 64 | 65 66 20 5f 5f 42 41 4c |...#ifnd|ef __BAL|
|00000170| 4c 4f 4f 4e 53 5f 5f 0d | 23 69 6e 63 6c 75 64 65 |LOONS__.|#include|
|00000180| 20 3c 42 61 6c 6c 6f 6f | 6e 73 2e 68 3e 0d 23 65 | <Balloo|ns.h>.#e|
|00000190| 6e 64 69 66 0d 0d 23 69 | 66 6e 64 65 66 20 5f 5f |ndif..#i|fndef __|
|000001a0| 47 45 53 54 41 4c 54 45 | 51 55 5f 5f 0d 23 69 6e |GESTALTE|QU__.#in|
|000001b0| 63 6c 75 64 65 20 3c 47 | 65 73 74 61 6c 74 45 71 |clude <G|estaltEq|
|000001c0| 75 2e 68 3e 0d 23 65 6e | 64 69 66 0d 0d 23 69 6e |u.h>.#en|dif..#in|
|000001d0| 63 6c 75 64 65 20 22 70 | 72 6f 74 6f 73 22 0d 0d |clude "p|rotos"..|
|000001e0| 23 69 6e 63 6c 75 64 65 | 20 22 67 6c 6f 62 61 6c |#include| "global|
|000001f0| 73 2e 68 22 0d 23 69 6e | 63 6c 75 64 65 20 22 65 |s.h".#in|clude "e|
|00000200| 78 74 65 72 6e 2e 68 22 | 0d 0d 23 69 6e 63 6c 75 |xtern.h"|..#inclu|
|00000210| 64 65 20 22 61 62 6f 75 | 74 2e 68 22 0d 23 69 6e |de "abou|t.h".#in|
|00000220| 63 6c 75 64 65 20 22 66 | 6c 6f 61 74 69 6e 67 57 |clude "f|loatingW|
|00000230| 69 6e 64 6f 77 2e 68 22 | 0d 0d 0d 2f 2f 20 4c 6f |indow.h"|...// Lo|
|00000240| 63 61 6c 20 70 72 6f 74 | 6f 74 79 70 65 73 3a 0d |cal prot|otypes:.|
|00000250| 0d 4f 53 45 72 72 09 53 | 68 6f 77 4d 79 4e 65 77 |.OSErr.S|howMyNew|
|00000260| 42 61 6c 6c 6f 6f 6e 20 | 28 52 65 63 74 09 09 2a |Balloon |(Rect..*|
|00000270| 61 6c 74 52 65 63 74 2c | 0d 09 09 09 09 09 09 20 |altRect,|....... |
|00000280| 20 50 74 72 09 09 74 69 | 70 50 72 6f 63 2c 0d 09 | Ptr..ti|pProc,..|
|00000290| 09 09 09 09 09 20 20 73 | 68 6f 72 74 09 09 73 74 |..... s|hort..st|
|000002a0| 72 49 44 2c 0d 09 09 09 | 09 09 09 20 20 73 68 6f |rID,....|... sho|
|000002b0| 72 74 09 09 73 74 72 49 | 6e 64 65 78 2c 0d 09 09 |rt..strI|ndex,...|
|000002c0| 09 09 09 09 20 20 73 68 | 6f 72 74 09 09 74 68 65 |.... sh|ort..the|
|000002d0| 50 72 6f 63 2c 0d 09 09 | 09 09 09 09 20 20 73 68 |Proc,...|.... sh|
|000002e0| 6f 72 74 09 09 76 61 72 | 69 61 6e 74 2c 0d 09 09 |ort..var|iant,...|
|000002f0| 09 09 09 09 20 20 73 68 | 6f 72 74 09 09 6d 65 74 |.... sh|ort..met|
|00000300| 68 6f 64 29 3b 0d 0d 0d | 09 09 50 6f 69 6e 74 09 |hod);...|..Point.|
|00000310| 09 09 09 6d 6f 75 73 65 | 3b 0d 09 09 73 68 6f 72 |...mouse|;...shor|
|00000320| 74 09 09 09 09 6e 6f 74 | 4d 69 6e 65 20 3d 20 2d |t....not|Mine = -|
|00000330| 31 3b 0d 09 09 65 78 74 | 65 72 6e 20 44 69 61 6c |1;...ext|ern Dial|
|00000340| 6f 67 50 74 72 09 68 65 | 6c 70 50 74 72 3b 0d 09 |ogPtr.he|lpPtr;..|
|00000350| 09 65 78 74 65 72 6e 20 | 57 69 6e 64 6f 77 50 65 |.extern |WindowPe|
|00000360| 65 6b 09 66 72 6f 6e 74 | 54 6f 6f 6c 57 69 6e 64 |ek.front|ToolWind|
|00000370| 6f 77 2c 0d 09 09 09 09 | 09 09 09 62 61 63 6b 54 |ow,.....|...backT|
|00000380| 6f 6f 6c 57 69 6e 64 6f | 77 2c 0d 09 09 09 09 09 |oolWindo|w,......|
|00000390| 09 09 66 72 6f 6e 74 44 | 6f 63 57 69 6e 64 6f 77 |..frontD|ocWindow|
|000003a0| 3b 0d 0d 0d 0d 09 09 0d | 42 6f 6f 6c 65 61 6e 20 |;.......|Boolean |
|000003b0| 48 65 6c 70 4d 61 6e 61 | 67 65 72 41 63 74 69 76 |HelpMana|gerActiv|
|000003c0| 65 20 28 76 6f 69 64 29 | 09 7b 0d 20 2f 2a 20 44 |e (void)|.{. /* D|
|000003d0| 6f 20 77 65 20 68 61 76 | 65 20 61 20 6d 61 63 68 |o we hav|e a mach|
|000003e0| 69 6e 65 20 6f 6e 20 77 | 68 69 63 68 20 74 68 65 |ine on w|hich the|
|000003f0| 20 48 65 6c 70 20 4d 61 | 6e 61 67 65 72 20 65 78 | Help Ma|nager ex|
|00000400| 69 73 74 73 20 3f 3f 3f | 20 2a 2f 0d 0d 09 09 73 |ists ???| */....s|
|00000410| 68 6f 72 74 09 09 5f 47 | 65 73 74 61 6c 74 20 3d |hort.._G|estalt =|
|00000420| 20 30 78 41 31 41 44 3b | 0d 09 09 6c 6f 6e 67 09 | 0xA1AD;|...long.|
|00000430| 09 6d 79 46 65 61 74 75 | 72 65 3b 0d 09 09 42 6f |.myFeatu|re;...Bo|
|00000440| 6f 6c 65 61 6e 09 09 72 | 65 73 75 6c 74 3b 0d 0d |olean..r|esult;..|
|00000450| 0d 09 72 65 73 75 6c 74 | 20 3d 20 66 61 6c 73 65 |..result| = false|
|00000460| 3b 0d 09 3b 0d 09 69 66 | 20 28 54 72 61 70 41 76 |;..;..if| (TrapAv|
|00000470| 61 69 6c 61 62 6c 65 28 | 5f 47 65 73 74 61 6c 74 |ailable(|_Gestalt|
|00000480| 29 29 09 7b 0d 09 09 69 | 66 20 28 47 65 73 74 61 |)).{...i|f (Gesta|
|00000490| 6c 74 28 67 65 73 74 61 | 6c 74 48 65 6c 70 4d 67 |lt(gesta|ltHelpMg|
|000004a0| 72 41 74 74 72 2c 20 26 | 6d 79 46 65 61 74 75 72 |rAttr, &|myFeatur|
|000004b0| 65 29 20 3d 3d 20 6e 6f | 45 72 72 29 09 7b 0d 09 |e) == no|Err).{..|
|000004c0| 09 09 69 66 20 28 42 69 | 74 54 73 74 28 26 6d 79 |..if (Bi|tTst(&my|
|000004d0| 46 65 61 74 75 72 65 2c | 20 33 31 20 2d 20 67 65 |Feature,| 31 - ge|
|000004e0| 73 74 61 6c 74 48 65 6c | 70 4d 67 72 50 72 65 73 |staltHel|pMgrPres|
|000004f0| 65 6e 74 29 29 09 72 65 | 73 75 6c 74 20 3d 20 74 |ent)).re|sult = t|
|00000500| 72 75 65 3b 0d 09 09 7d | 0d 09 7d 0d 0d 09 72 65 |rue;...}|..}...re|
|00000510| 74 75 72 6e 28 72 65 73 | 75 6c 74 29 3b 0d 09 0d |turn(res|ult);...|
|00000520| 7d 09 2f 2a 20 48 65 6c | 70 4d 61 6e 61 67 65 72 |}./* Hel|pManager|
|00000530| 41 63 74 69 76 65 20 2a | 2f 0d 0d 0d 0d 42 6f 6f |Active *|/....Boo|
|00000540| 6c 65 61 6e 20 42 61 6c | 6c 6f 6f 6e 73 4f 6e 20 |lean Bal|loonsOn |
|00000550| 28 76 6f 69 64 29 09 7b | 0d 2f 2a 20 48 61 73 20 |(void).{|./* Has |
|00000560| 74 68 65 20 75 73 65 72 | 20 73 65 6c 65 63 74 65 |the user| selecte|
|00000570| 64 20 22 53 68 6f 77 20 | 42 61 6c 6c 6f 6f 6e 73 |d "Show |Balloons|
|00000580| 22 20 3f 3f 3f 20 2a 2f | 0d 0d 09 72 65 74 75 72 |" ??? */|...retur|
|00000590| 6e 28 48 65 6c 70 4d 61 | 6e 61 67 65 72 41 63 74 |n(HelpMa|nagerAct|
|000005a0| 69 76 65 28 29 20 26 26 | 20 48 4d 47 65 74 42 61 |ive() &&| HMGetBa|
|000005b0| 6c 6c 6f 6f 6e 73 28 29 | 29 3b 0d 0d 7d 09 2f 2a |lloons()|);..}./*|
|000005c0| 20 42 61 6c 6c 6f 6f 6e | 73 4f 6e 20 2a 2f 0d 0d | Balloon|sOn */..|
|000005d0| 0d 0d 42 6f 6f 6c 65 61 | 6e 20 42 61 6c 6c 6f 6f |..Boolea|n Balloo|
|000005e0| 6e 53 68 6f 77 69 6e 67 | 20 28 76 6f 69 64 29 09 |nShowing| (void).|
|000005f0| 7b 0d 2f 2a 20 49 73 20 | 61 20 42 61 6c 6c 6f 6f |{./* Is |a Balloo|
|00000600| 6e 20 63 75 72 72 65 6e | 74 6c 79 20 73 68 6f 77 |n curren|tly show|
|00000610| 69 6e 67 20 3f 3f 3f 20 | 2a 2f 0d 0d 09 72 65 74 |ing ??? |*/...ret|
|00000620| 75 72 6e 28 48 65 6c 70 | 4d 61 6e 61 67 65 72 41 |urn(Help|ManagerA|
|00000630| 63 74 69 76 65 28 29 20 | 26 26 20 48 4d 49 73 42 |ctive() |&& HMIsB|
|00000640| 61 6c 6c 6f 6f 6e 28 29 | 29 3b 0d 0d 7d 09 2f 2a |alloon()|);..}./*|
|00000650| 20 42 61 6c 6c 6f 6f 6e | 53 68 6f 77 69 6e 67 20 | Balloon|Showing |
|00000660| 2a 2f 0d 0d 0d 0d 76 6f | 69 64 20 48 69 64 65 42 |*/....vo|id HideB|
|00000670| 61 6c 6c 6f 6f 6e 73 20 | 28 42 6f 6f 6c 65 61 6e |alloons |(Boolean|
|00000680| 20 62 61 6c 6c 6f 6f 6e | 73 55 70 29 09 7b 0d 0d | balloon|sUp).{..|
|00000690| 09 09 4f 53 45 72 72 09 | 73 6f 57 68 61 74 3b 0d |..OSErr.|soWhat;.|
|000006a0| 0d 0d 09 69 66 20 28 62 | 61 6c 6c 6f 6f 6e 73 55 |...if (b|alloonsU|
|000006b0| 70 29 09 7b 0d 09 09 2f | 2a 20 47 65 74 20 74 68 |p).{.../|* Get th|
|000006c0| 65 20 64 61 67 67 75 6d | 20 6d 6f 6e 73 74 65 72 |e daggum| monster|
|000006d0| 20 6f 75 74 20 6f 66 20 | 74 68 65 20 77 61 79 20 | out of |the way |
|000006e0| 21 21 20 2a 2f 0d 09 09 | 2f 2a 20 55 73 65 64 20 |!! */...|/* Used |
|000006f0| 22 68 6d 53 61 76 65 42 | 69 74 73 4e 6f 57 69 6e |"hmSaveB|itsNoWin|
|00000700| 64 6f 77 20 6f 70 74 69 | 6f 6e 22 20 73 6f 20 62 |dow opti|on" so b|
|00000710| 69 74 73 20 2a 2f 0d 09 | 09 2f 2a 20 61 72 65 20 |its */..|./* are |
|00000720| 72 65 73 74 6f 72 65 64 | 20 77 69 74 68 4f 55 54 |restored| withOUT|
|00000730| 20 61 6e 20 75 70 64 61 | 74 65 20 45 76 65 6e 74 | an upda|te Event|
|00000740| 2e 20 20 20 20 2a 2f 0d | 09 09 69 66 20 28 42 61 |. */.|..if (Ba|
|00000750| 6c 6c 6f 6f 6e 53 68 6f | 77 69 6e 67 28 29 29 09 |lloonSho|wing()).|
|00000760| 73 6f 57 68 61 74 20 3d | 20 48 4d 52 65 6d 6f 76 |soWhat =| HMRemov|
|00000770| 65 42 61 6c 6c 6f 6f 6e | 28 29 3b 0d 09 09 09 09 |eBalloon|();.....|
|00000780| 0d 09 09 2f 2a 20 4f 6b | 61 79 2c 20 49 27 76 65 |.../* Ok|ay, I've|
|00000790| 20 72 65 73 74 6f 72 65 | 64 20 74 68 65 20 62 69 | restore|d the bi|
|000007a0| 74 73 2e 20 20 48 6f 77 | 65 76 65 72 2c 20 6e 6f |ts. How|ever, no|
|000007b0| 77 20 20 20 2a 2f 0d 09 | 09 2f 2a 20 49 27 76 65 |w */..|./* I've|
|000007c0| 20 67 6f 74 20 74 6f 20 | 74 65 6d 70 6f 72 61 72 | got to |temporar|
|000007d0| 69 6c 79 20 64 69 73 61 | 62 6c 65 20 42 61 6c 6c |ily disa|ble Ball|
|000007e0| 6f 6f 6e 20 48 65 6c 70 | 20 20 2a 2f 0d 09 09 2f |oon Help| */.../|
|000007f0| 2a 20 75 6e 74 69 6c 20 | 49 20 6c 65 61 76 65 20 |* until |I leave |
|00000800| 77 69 74 68 20 61 20 4d | 6f 75 73 65 20 55 70 20 |with a M|ouse Up |
|00000810| 45 76 65 6e 74 20 6f 72 | 20 66 69 6e 69 73 68 20 |Event or| finish |
|00000820| 2a 2f 0d 09 09 2f 2a 20 | 77 69 74 68 20 77 68 61 |*/.../* |with wha|
|00000830| 74 65 76 65 72 3a 20 20 | 20 20 20 20 20 20 20 20 |tever: | |
|00000840| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000850| 20 20 20 20 20 20 2a 2f | 0d 09 09 73 6f 57 68 61 | */|...soWha|
|00000860| 74 20 3d 20 48 4d 53 65 | 74 42 61 6c 6c 6f 6f 6e |t = HMSe|tBalloon|
|00000870| 73 28 66 61 6c 73 65 29 | 3b 0d 09 09 3b 0d 09 09 |s(false)|;...;...|
|00000880| 67 4c 61 73 74 42 61 6c | 6c 6f 6f 6e 20 3d 20 2d |gLastBal|loon = -|
|00000890| 31 3b 0d 09 7d 09 2f 2a | 20 22 53 68 6f 77 20 42 |1;..}./*| "Show B|
|000008a0| 61 6c 6c 6f 6f 6e 73 22 | 20 61 63 74 69 76 65 20 |alloons"| active |
|000008b0| 2a 2f 0d 0d 7d 09 2f 2a | 20 48 69 64 65 42 61 6c |*/..}./*| HideBal|
|000008c0| 6c 6f 6f 6e 73 20 2a 2f | 0d 0d 0d 76 6f 69 64 20 |loons */|...void |
|000008d0| 53 68 6f 77 42 61 6c 6c | 6f 6f 6e 73 20 28 42 6f |ShowBall|oons (Bo|
|000008e0| 6f 6c 65 61 6e 20 62 61 | 6c 6c 6f 6f 6e 73 55 70 |olean ba|lloonsUp|
|000008f0| 29 09 7b 0d 2f 2a 20 4e | 4f 57 20 21 21 21 20 49 |).{./* N|OW !!! I|
|00000900| 20 63 61 6e 20 73 61 66 | 65 6c 79 20 72 65 2d 65 | can saf|ely re-e|
|00000910| 6e 61 62 6c 65 20 42 61 | 6c 6c 6f 6f 6e 20 48 65 |nable Ba|lloon He|
|00000920| 6c 70 3a 20 2a 2f 0d 0d | 09 09 4f 53 45 72 72 09 |lp: */..|..OSErr.|
|00000930| 73 6f 57 68 61 74 3b 0d | 0d 0d 09 69 66 20 28 62 |soWhat;.|...if (b|
|00000940| 61 6c 6c 6f 6f 6e 73 55 | 70 29 09 73 6f 57 68 61 |alloonsU|p).soWha|
|00000950| 74 20 3d 20 48 4d 53 65 | 74 42 61 6c 6c 6f 6f 6e |t = HMSe|tBalloon|
|00000960| 73 28 74 72 75 65 29 3b | 0d 0d 7d 09 2f 2a 20 53 |s(true);|..}./* S|
|00000970| 68 6f 77 42 61 6c 6c 6f | 6f 6e 73 20 2a 2f 0d 0d |howBallo|ons */..|
|00000980| 0d 0d 76 6f 69 64 20 52 | 65 73 65 74 42 61 6c 6c |..void R|esetBall|
|00000990| 6f 6f 6e 73 20 28 42 6f | 6f 6c 65 61 6e 20 62 61 |oons (Bo|olean ba|
|000009a0| 6c 6c 6f 6f 6e 73 55 70 | 29 09 7b 0d 0d 09 69 66 |lloonsUp|).{...if|
|000009b0| 20 28 62 61 6c 6c 6f 6f | 6e 73 55 70 29 09 53 68 | (balloo|nsUp).Sh|
|000009c0| 6f 77 42 61 6c 6c 6f 6f | 6e 73 28 74 72 75 65 29 |owBalloo|ns(true)|
|000009d0| 3b 0d 09 65 6c 73 65 09 | 48 69 64 65 42 61 6c 6c |;..else.|HideBall|
|000009e0| 6f 6f 6e 73 28 48 65 6c | 70 4d 61 6e 61 67 65 72 |oons(Hel|pManager|
|000009f0| 41 63 74 69 76 65 28 29 | 29 3b 0d 0d 7d 09 2f 2a |Active()|);..}./*|
|00000a00| 20 52 65 73 65 74 42 61 | 6c 6c 6f 6f 6e 73 20 2a | ResetBa|lloons *|
|00000a10| 2f 0d 0d 0d 0d 4f 53 45 | 72 72 20 53 68 6f 77 4d |/....OSE|rr ShowM|
|00000a20| 79 4e 65 77 42 61 6c 6c | 6f 6f 6e 20 28 52 65 63 |yNewBall|oon (Rec|
|00000a30| 74 09 2a 61 6c 74 52 65 | 63 74 2c 0d 09 09 09 09 |t.*altRe|ct,.....|
|00000a40| 09 09 50 74 72 09 09 74 | 69 70 50 72 6f 63 2c 0d |..Ptr..t|ipProc,.|
|00000a50| 09 09 09 09 09 09 73 68 | 6f 72 74 09 73 74 72 49 |......sh|ort.strI|
|00000a60| 44 2c 0d 09 09 09 09 09 | 09 73 68 6f 72 74 09 73 |D,......|.short.s|
|00000a70| 74 72 49 6e 64 65 78 2c | 0d 09 09 09 09 09 09 73 |trIndex,|.......s|
|00000a80| 68 6f 72 74 09 74 68 65 | 50 72 6f 63 2c 0d 09 09 |hort.the|Proc,...|
|00000a90| 09 09 09 09 73 68 6f 72 | 74 09 76 61 72 69 61 6e |....shor|t.varian|
|00000aa0| 74 2c 0d 09 09 09 09 09 | 09 73 68 6f 72 74 09 6d |t,......|.short.m|
|00000ab0| 65 74 68 6f 64 29 09 09 | 7b 0d 0d 09 09 48 4d 4d |ethod)..|{....HMM|
|00000ac0| 65 73 73 61 67 65 52 65 | 63 6f 72 64 09 09 68 65 |essageRe|cord..he|
|00000ad0| 6c 70 4d 73 67 3b 0d 09 | 09 50 6f 69 6e 74 09 09 |lpMsg;..|.Point..|
|00000ae0| 09 09 74 69 70 3b 0d 09 | 09 52 65 63 74 09 09 09 |..tip;..|.Rect...|
|00000af0| 09 63 79 41 6c 74 52 65 | 63 74 3b 0d 0d 0d 20 2f |.cyAltRe|ct;... /|
|00000b00| 2a 20 53 65 65 20 63 6f | 6d 6d 65 6e 74 20 62 65 |* See co|mment be|
|00000b10| 73 69 64 65 73 20 22 6e | 69 6c 22 20 70 61 73 73 |sides "n|il" pass|
|00000b20| 65 64 20 74 6f 20 48 4d | 53 68 6f 77 42 61 6c 6c |ed to HM|ShowBall|
|00000b30| 6f 6f 6e 20 62 65 6c 6f | 77 3a 0d 20 0d 09 2f 2f |oon belo|w:. ..//|
|00000b40| 20 2e 2e 2e 20 73 6f 20 | 77 65 20 64 6f 6e 27 74 | ... so |we don't|
|00000b50| 20 63 68 61 6e 67 65 20 | 74 68 65 20 69 6e 70 75 | change |the inpu|
|00000b60| 74 20 52 65 63 74 3a 0d | 09 63 79 41 6c 74 52 65 |t Rect:.|.cyAltRe|
|00000b70| 63 74 20 3d 20 2a 61 6c | 74 52 65 63 74 3b 0d 09 |ct = *al|tRect;..|
|00000b80| 4c 6f 63 61 6c 47 6c 6f | 62 61 6c 28 26 63 79 41 |LocalGlo|bal(&cyA|
|00000b90| 6c 74 52 65 63 74 29 3b | 0d 0d 09 2f 2f 20 49 66 |ltRect);|...// If|
|00000ba0| 20 77 65 20 63 65 6e 74 | 65 72 65 64 20 74 68 65 | we cent|ered the|
|00000bb0| 20 74 69 70 20 61 6e 64 | 20 74 68 65 20 77 69 6e | tip and| the win|
|00000bc0| 64 6f 77 20 69 73 20 70 | 61 72 74 69 61 6c 6c 79 |dow is p|artially|
|00000bd0| 0d 09 2f 2f 20 68 69 64 | 64 65 6e 20 62 79 2c 20 |..// hid|den by, |
|00000be0| 73 61 79 2c 20 61 20 46 | 6c 6f 61 74 69 6e 67 20 |say, a F|loating |
|00000bf0| 57 69 6e 64 6f 77 2c 20 | 74 68 65 20 74 69 70 20 |Window, |the tip |
|00000c00| 6d 61 79 20 65 6e 64 0d | 09 2f 2f 20 75 70 20 70 |may end.|.// up p|
|00000c10| 6f 69 6e 74 69 6e 67 20 | 74 6f 20 74 68 65 20 46 |ointing |to the F|
|00000c20| 6c 6f 61 74 69 6e 67 20 | 57 69 6e 64 6f 77 3a 0d |loating |Window:.|
|00000c30| 0d 20 2f 2a 0d 09 2f 2f | 20 43 65 6e 74 65 72 20 |. /*..//| Center |
|00000c40| 74 68 65 20 74 69 70 3a | 0d 09 53 65 74 50 74 28 |the tip:|..SetPt(|
|00000c50| 26 74 69 70 2c 0d 09 09 | 20 20 28 63 79 41 6c 74 |&tip,...| (cyAlt|
|00000c60| 52 65 63 74 2e 72 69 67 | 68 74 20 20 2b 20 63 79 |Rect.rig|ht + cy|
|00000c70| 41 6c 74 52 65 63 74 2e | 6c 65 66 74 29 2f 32 2c |AltRect.|left)/2,|
|00000c80| 0d 09 09 20 20 28 63 79 | 41 6c 74 52 65 63 74 2e |... (cy|AltRect.|
|00000c90| 62 6f 74 74 6f 6d 20 2b | 20 63 79 41 6c 74 52 65 |bottom +| cyAltRe|
|00000ca0| 63 74 2e 74 6f 70 20 29 | 2f 32 29 3b 0d 20 2a 2f |ct.top )|/2);. */|
|00000cb0| 0d 20 09 47 65 74 4d 6f | 75 73 65 28 26 74 69 70 |. .GetMo|use(&tip|
|00000cc0| 29 3b 0d 20 09 4c 6f 63 | 61 6c 54 6f 47 6c 6f 62 |);. .Loc|alToGlob|
|00000cd0| 61 6c 28 26 74 69 70 29 | 3b 0d 09 0d 09 2f 2f 20 |al(&tip)|;....// |
|00000ce0| 46 69 6c 6c 20 69 6e 20 | 48 4d 4d 65 73 73 61 67 |Fill in |HMMessag|
|00000cf0| 65 52 65 63 6f 72 64 3a | 0d 09 68 65 6c 70 4d 73 |eRecord:|..helpMs|
|00000d00| 67 2e 68 6d 6d 48 65 6c | 70 54 79 70 65 20 09 09 |g.hmmHel|pType ..|
|00000d10| 09 3d 20 6b 68 6d 6d 53 | 74 72 69 6e 67 52 65 73 |.= khmmS|tringRes|
|00000d20| 3b 0d 09 68 65 6c 70 4d | 73 67 2e 75 2e 68 6d 6d |;..helpM|sg.u.hmm|
|00000d30| 53 74 72 69 6e 67 52 65 | 73 2e 68 6d 6d 52 65 73 |StringRe|s.hmmRes|
|00000d40| 49 44 09 3d 20 73 74 72 | 49 44 3b 0d 09 68 65 6c |ID.= str|ID;..hel|
|00000d50| 70 4d 73 67 2e 75 2e 68 | 6d 6d 53 74 72 69 6e 67 |pMsg.u.h|mmString|
|00000d60| 52 65 73 2e 68 6d 6d 49 | 6e 64 65 78 09 3d 20 73 |Res.hmmI|ndex.= s|
|00000d70| 74 72 49 6e 64 65 78 3b | 0d 09 3b 0d 09 72 65 74 |trIndex;|..;..ret|
|00000d80| 75 72 6e 20 28 20 48 4d | 53 68 6f 77 42 61 6c 6c |urn ( HM|ShowBall|
|00000d90| 6f 6f 6e 28 26 68 65 6c | 70 4d 73 67 2c 20 74 69 |oon(&hel|pMsg, ti|
|00000da0| 70 2c 0d 09 09 09 09 09 | 09 20 20 20 6e 69 6c 2c |p,......|. nil,|
|00000db0| 09 09 09 2f 2a 20 49 66 | 20 49 20 70 61 73 73 20 |.../* If| I pass |
|00000dc0| 26 63 79 41 6c 74 52 65 | 63 74 2c 20 74 68 65 20 |&cyAltRe|ct, the |
|00000dd0| 48 65 6c 70 20 4d 61 6e | 61 67 65 72 0d 09 09 09 |Help Man|ager....|
|00000de0| 09 09 09 20 20 20 09 09 | 09 09 2a 2a 20 77 69 6c |... ..|..** wil|
|00000df0| 6c 20 61 74 74 65 6d 70 | 74 20 74 6f 20 72 65 2d |l attemp|t to re-|
|00000e00| 63 61 6c 63 75 6c 61 74 | 65 20 74 68 65 20 74 69 |calculat|e the ti|
|00000e10| 70 2e 0d 09 09 09 09 09 | 09 20 20 20 09 09 09 09 |p.......|. ....|
|00000e20| 2a 2a 20 54 68 69 73 20 | 69 73 20 65 78 61 63 74 |** This |is exact|
|00000e30| 6c 79 20 77 68 61 74 20 | 49 20 64 6f 20 4e 4f 54 |ly what |I do NOT|
|00000e40| 20 77 61 6e 74 0d 09 09 | 09 09 09 09 20 20 20 09 | want...|.... .|
|00000e50| 09 09 09 2a 2a 20 62 65 | 63 61 75 73 65 20 6f 66 |...** be|cause of|
|00000e60| 20 74 68 65 20 70 6f 73 | 73 69 62 69 6c 69 74 79 | the pos|sibility|
|00000e70| 20 74 68 61 74 20 61 0d | 09 09 09 09 09 09 20 20 | that a.|...... |
|00000e80| 20 09 09 09 09 2a 2a 20 | 46 6c 6f 61 74 69 6e 67 | ....** |Floating|
|00000e90| 20 57 69 6e 64 6f 77 20 | 6d 61 79 20 62 65 20 63 | Window |may be c|
|00000ea0| 6f 76 65 72 69 6e 67 20 | 70 61 72 74 0d 09 09 09 |overing |part....|
|00000eb0| 09 09 09 20 20 20 09 09 | 09 09 2a 2a 20 6f 66 20 |... ..|..** of |
|00000ec0| 61 20 44 4c 4f 47 20 69 | 74 65 6d 20 69 6e 20 77 |a DLOG i|tem in w|
|00000ed0| 68 69 63 68 20 63 61 73 | 65 20 74 68 65 0d 09 09 |hich cas|e the...|
|00000ee0| 09 09 09 09 20 20 20 09 | 09 09 09 2a 2a 20 72 65 |.... .|...** re|
|00000ef0| 2d 63 61 6c 63 75 6c 61 | 74 65 64 20 74 69 70 20 |-calcula|ted tip |
|00000f00| 6d 61 79 20 65 6e 64 20 | 75 70 20 70 6f 69 6e 74 |may end |up point|
|00000f10| 69 6e 67 0d 09 09 09 09 | 09 09 20 20 20 09 09 09 |ing.....|.. ...|
|00000f20| 09 2a 2a 20 74 6f 20 74 | 68 65 20 46 6c 6f 61 74 |.** to t|he Float|
|00000f30| 69 6e 67 20 57 69 6e 64 | 6f 77 2e 09 09 09 09 20 |ing Wind|ow..... |
|00000f40| 2a 2f 0d 09 09 09 09 09 | 09 20 20 20 74 69 70 50 |*/......|. tipP|
|00000f50| 72 6f 63 2c 20 74 68 65 | 50 72 6f 63 2c 20 76 61 |roc, the|Proc, va|
|00000f60| 72 69 61 6e 74 2c 20 6d | 65 74 68 6f 64 29 20 29 |riant, m|ethod) )|
|00000f70| 3b 0d 0d 7d 09 2f 2a 20 | 53 68 6f 77 4d 79 4e 65 |;..}./* |ShowMyNe|
|00000f80| 77 42 61 6c 6c 6f 6f 6e | 20 2a 2f 0d 0d 0d 0d 76 |wBalloon| */....v|
|00000f90| 6f 69 64 20 46 69 6e 64 | 41 6e 64 53 68 6f 77 44 |oid Find|AndShowD|
|00000fa0| 79 6e 61 6d 69 63 42 61 | 6c 6c 6f 6f 6e 73 20 28 |ynamicBa|lloons (|
|00000fb0| 42 6f 6f 6c 65 61 6e 20 | 62 61 6c 6c 6f 6f 6e 73 |Boolean |balloons|
|00000fc0| 55 70 29 09 7b 0d 0d 09 | 09 73 68 6f 72 74 09 09 |Up).{...|.short..|
|00000fd0| 09 09 73 74 64 57 44 45 | 46 20 3d 20 30 2c 20 64 |..stdWDE|F = 0, d|
|00000fe0| 65 66 56 61 72 20 3d 20 | 30 3b 0d 09 09 73 68 6f |efVar = |0;...sho|
|00000ff0| 72 74 09 09 09 09 61 63 | 74 69 76 65 4f 74 68 65 |rt....ac|tiveOthe|
|00001000| 72 57 69 6e 64 6f 77 20 | 3d 20 31 30 30 30 3b 0d |rWindow |= 1000;.|
|00001010| 0d 09 09 47 72 61 66 50 | 74 72 09 09 09 09 73 61 |...GrafP|tr....sa|
|00001020| 76 65 50 6f 72 74 3b 0d | 09 09 57 69 6e 64 6f 77 |vePort;.|..Window|
|00001030| 50 74 72 09 09 09 69 6e | 57 69 6e 64 6f 77 3b 0d |Ptr...in|Window;.|
|00001040| 09 09 73 68 6f 72 74 09 | 09 09 09 69 2c 20 69 54 |..short.|...i, iT|
|00001050| 79 70 65 2c 20 70 61 72 | 74 3b 0d 09 09 48 61 6e |ype, par|t;...Han|
|00001060| 64 6c 65 09 09 09 09 69 | 48 61 6e 64 6c 65 3b 0d |dle....i|Handle;.|
|00001070| 09 09 52 65 63 74 09 09 | 09 09 69 42 6f 78 2c 20 |..Rect..|..iBox, |
|00001080| 69 6e 61 63 74 69 76 65 | 42 6f 78 3b 0d 09 09 43 |inactive|Box;...C|
|00001090| 6f 6e 74 72 6f 6c 48 61 | 6e 64 6c 65 09 09 69 43 |ontrolHa|ndle..iC|
|000010a0| 74 6c 3b 0d 09 09 42 6f | 6f 6c 65 61 6e 09 09 09 |tl;...Bo|olean...|
|000010b0| 09 69 6e 48 65 6c 70 52 | 65 63 74 20 3d 20 66 61 |.inHelpR|ect = fa|
|000010c0| 6c 73 65 3b 0d 09 09 65 | 78 74 65 72 6e 20 56 69 |lse;...e|xtern Vi|
|000010d0| 65 77 4d 6f 64 65 09 09 | 4c 61 73 74 5f 54 79 70 |ewMode..|Last_Typ|
|000010e0| 65 3b 0d 09 09 65 78 74 | 65 72 6e 20 73 68 6f 72 |e;...ext|ern shor|
|000010f0| 74 09 09 43 75 72 72 65 | 6e 74 5f 54 6f 70 69 63 |t..Curre|nt_Topic|
|00001100| 3b 0d 0d 0d 20 09 69 66 | 20 28 20 21 62 61 6c 6c |;... .if| ( !ball|
|00001110| 6f 6f 6e 73 55 70 20 7c | 7c 0d 20 09 09 20 45 76 |oonsUp |||. .. Ev|
|00001120| 65 6e 74 41 76 61 69 6c | 28 75 70 64 61 74 65 4d |entAvail|(updateM|
|00001130| 61 73 6b 2c 20 26 67 45 | 76 65 6e 74 29 20 2f 2a |ask, &gE|vent) /*|
|00001140| 20 22 53 77 69 74 63 68 | 2d 41 5f 52 6f 6f 22 20 | "Switch|-A_Roo" |
|00001150| 70 72 6f 62 6c 65 6d 20 | 2a 2f 20 29 09 09 7b 0d |problem |*/ )..{.|
|00001160| 09 09 67 4c 61 73 74 42 | 61 6c 6c 6f 6f 6e 20 3d |..gLastB|alloon =|
|00001170| 20 6e 6f 74 4d 69 6e 65 | 3b 0d 09 09 72 65 74 75 | notMine|;...retu|
|00001180| 72 6e 3b 0d 09 7d 0d 0d | 09 6d 6f 75 73 65 20 3d |rn;..}..|.mouse =|
|00001190| 20 67 45 76 65 6e 74 2e | 77 68 65 72 65 3b 0d 09 | gEvent.|where;..|
|000011a0| 70 61 72 74 20 3d 20 46 | 69 6e 64 57 69 6e 64 6f |part = F|indWindo|
|000011b0| 77 28 6d 6f 75 73 65 2c | 20 26 69 6e 57 69 6e 64 |w(mouse,| &inWind|
|000011c0| 6f 77 29 3b 0d 09 0d 09 | 69 66 20 28 70 61 72 74 |ow);....|if (part|
|000011d0| 20 21 3d 20 69 6e 43 6f | 6e 74 65 6e 74 29 09 09 | != inCo|ntent)..|
|000011e0| 72 65 74 75 72 6e 3b 0d | 0d 09 65 6c 73 65 09 7b |return;.|..else.{|
|000011f0| 09 2f 2a 20 6d 6f 75 73 | 65 20 69 73 20 69 6e 20 |./* mous|e is in |
|00001200| 61 20 77 69 6e 64 6f 77 | 20 73 6f 6d 65 77 68 65 |a window| somewhe|
|00001210| 72 65 20 2a 2f 0d 09 09 | 09 09 0d 09 09 47 65 74 |re */...|.....Get|
|00001220| 50 6f 72 74 28 26 73 61 | 76 65 50 6f 72 74 29 3b |Port(&sa|vePort);|
|00001230| 0d 09 09 53 65 74 50 6f | 72 74 28 69 6e 57 69 6e |...SetPo|rt(inWin|
|00001240| 64 6f 77 29 3b 0d 09 09 | 0d 09 09 47 6c 6f 62 61 |dow);...|...Globa|
|00001250| 6c 54 6f 4c 6f 63 61 6c | 28 26 6d 6f 75 73 65 29 |lToLocal|(&mouse)|
|00001260| 3b 0d 0d 09 09 69 66 20 | 28 20 28 28 57 69 6e 64 |;....if |( ((Wind|
|00001270| 6f 77 50 65 65 6b 29 69 | 6e 57 69 6e 64 6f 77 29 |owPeek)i|nWindow)|
|00001280| 2d 3e 68 69 6c 69 74 65 | 64 20 29 09 7b 0d 09 09 |->hilite|d ).{...|
|00001290| 09 2f 2a 20 6d 6f 75 73 | 65 20 69 6e 20 66 72 6f |./* mous|e in fro|
|000012a0| 6e 74 2c 20 6f 72 20 61 | 63 74 69 76 65 20 77 69 |nt, or a|ctive wi|
|000012b0| 6e 64 6f 77 20 2a 2f 09 | 0d 09 09 09 69 66 20 28 |ndow */.|....if (|
|000012c0| 69 6e 57 69 6e 64 6f 77 | 20 21 3d 20 68 65 6c 70 |inWindow| != help|
|000012d0| 50 74 72 29 09 7b 0d 09 | 09 09 09 69 66 20 28 67 |Ptr).{..|...if (g|
|000012e0| 4c 61 73 74 42 61 6c 6c | 6f 6f 6e 20 21 3d 20 61 |LastBall|oon != a|
|000012f0| 63 74 69 76 65 4f 74 68 | 65 72 57 69 6e 64 6f 77 |ctiveOth|erWindow|
|00001300| 29 09 7b 0d 09 09 09 0d | 09 09 09 09 09 2f 2a 20 |).{.....|...../* |
|00001310| 2e 2e 2e 20 61 6e 79 20 | 61 63 74 69 76 65 20 4e |... any |active N|
|00001320| 4f 4e 2d 48 65 6c 70 20 | 57 69 6e 64 6f 77 20 73 |ON-Help |Window s|
|00001330| 74 75 66 66 20 67 6f 65 | 73 20 68 65 72 65 2e 0d |tuff goe|s here..|
|00001340| 09 09 09 09 09 2a 2a 20 | 52 65 6d 65 6d 62 65 72 |.....** |Remember|
|00001350| 2c 20 41 4c 4c 20 54 6f | 6f 6c 20 57 69 6e 64 6f |, ALL To|ol Windo|
|00001360| 77 73 20 61 72 65 20 61 | 63 74 69 76 65 2e 20 20 |ws are a|ctive. |
|00001370| 42 65 63 61 75 73 65 0d | 09 09 09 09 09 2a 2a 20 |Because.|.....** |
|00001380| 6f 66 20 74 68 65 20 6e | 61 74 75 72 65 20 6f 66 |of the n|ature of|
|00001390| 20 74 68 65 73 65 20 62 | 65 61 73 74 73 2c 20 68 | these b|easts, h|
|000013a0| 6f 77 65 76 65 72 2c 20 | 69 74 27 73 0d 09 09 09 |owever, |it's....|
|000013b0| 09 09 2a 2a 20 70 72 6f | 62 61 62 6c 79 20 62 65 |..** pro|bably be|
|000013c0| 73 74 20 74 6f 20 6c 65 | 74 20 27 68 72 63 74 27 |st to le|t 'hrct'|
|000013d0| 20 72 65 73 6f 75 72 63 | 65 73 0d 09 09 09 09 09 | resourc|es......|
|000013e0| 2a 2a 20 22 64 6f 20 74 | 68 65 69 72 20 74 68 69 |** "do t|heir thi|
|000013f0| 6e 67 22 2e 09 09 09 09 | 09 09 09 09 2a 2f 0d 09 |ng".....|....*/..|
|00001400| 09 09 09 0d 09 09 09 09 | 0d 09 09 09 09 0d 09 09 |........|........|
|00001410| 09 09 09 67 4c 61 73 74 | 42 61 6c 6c 6f 6f 6e 20 |...gLast|Balloon |
|00001420| 3d 20 61 63 74 69 76 65 | 4f 74 68 65 72 57 69 6e |= active|OtherWin|
|00001430| 64 6f 77 3b 0d 09 09 09 | 09 7d 0d 09 09 09 7d 09 |dow;....|.}....}.|
|00001440| 2f 2a 20 6d 6f 75 73 65 | 20 69 6e 20 73 6f 6d 65 |/* mouse| in some|
|00001450| 20 6f 74 68 65 72 20 61 | 63 74 69 76 65 20 77 69 | other a|ctive wi|
|00001460| 6e 64 6f 77 20 2a 2f 0d | 09 09 0d 09 09 09 65 6c |ndow */.|......el|
|00001470| 73 65 09 2f 2a 20 6d 6f | 75 73 65 20 69 6e 20 61 |se./* mo|use in a|
|00001480| 63 74 69 76 65 20 48 65 | 6c 70 20 57 69 6e 64 6f |ctive He|lp Windo|
|00001490| 77 20 2a 2f 09 7b 0d 09 | 09 09 0d 09 09 09 09 66 |w */.{..|.......f|
|000014a0| 6f 72 20 28 69 20 3d 20 | 4f 4b 5f 42 75 74 74 6f |or (i = |OK_Butto|
|000014b0| 6e 3b 20 69 20 3c 3d 20 | 4d 65 73 73 61 67 65 5f |n; i <= |Message_|
|000014c0| 41 72 65 61 2a 32 3b 20 | 69 2b 2b 29 0d 09 09 09 |Area*2; |i++)....|
|000014d0| 09 7b 09 2f 2a 20 55 73 | 65 20 74 68 65 20 61 70 |.{./* Us|e the ap|
|000014e0| 70 72 6f 70 72 69 61 74 | 65 20 73 74 72 69 6e 67 |propriat|e string|
|000014f0| 73 20 66 6f 72 20 64 69 | 73 61 62 6c 65 64 20 69 |s for di|sabled i|
|00001500| 74 65 6d 73 3a 20 2a 2f | 0d 09 09 09 09 0d 09 09 |tems: */|........|
|00001510| 09 09 09 69 66 20 28 20 | 28 69 20 3d 3d 20 4f 4b |...if ( |(i == OK|
|00001520| 5f 42 75 74 74 6f 6e 2a | 32 29 20 7c 7c 20 28 69 |_Button*|2) || (i|
|00001530| 20 3d 3d 20 54 6f 70 69 | 63 73 5f 41 72 65 61 2a | == Topi|cs_Area*|
|00001540| 32 29 20 29 0d 09 09 09 | 09 09 09 2f 2f 20 4e 4f |2) )....|...// NO|
|00001550| 20 42 61 6c 6c 6f 6f 6e | 73 20 66 6f 72 20 64 69 | Balloon|s for di|
|00001560| 73 61 62 6c 65 64 20 63 | 61 73 65 3a 0d 09 09 09 |sabled c|ase:....|
|00001570| 09 09 09 63 6f 6e 74 69 | 6e 75 65 3b 0d 09 09 09 |...conti|nue;....|
|00001580| 09 09 09 0d 09 09 09 09 | 09 65 6c 73 65 20 69 66 |........|.else if|
|00001590| 20 28 20 28 69 20 3d 3d | 20 28 44 69 73 70 6c 61 | ( (i ==| (Displa|
|000015a0| 79 5f 41 72 65 61 2d 31 | 29 2a 32 20 2b 20 31 29 |y_Area-1|)*2 + 1)|
|000015b0| 20 26 26 0d 09 09 09 09 | 09 09 09 20 20 28 43 75 | &&.....|... (Cu|
|000015c0| 72 72 65 6e 74 5f 54 6f | 70 69 63 20 21 3d 20 49 |rrent_To|pic != I|
|000015d0| 6e 69 74 69 61 6c 5f 50 | 69 63 74 75 72 65 29 20 |nitial_P|icture) |
|000015e0| 29 0d 09 09 09 09 09 09 | 63 6f 6e 74 69 6e 75 65 |).......|continue|
|000015f0| 3b 0d 09 09 09 09 09 09 | 0d 09 09 09 09 09 65 6c |;.......|......el|
|00001600| 73 65 20 69 66 20 28 20 | 69 20 3d 3d 20 28 4e 65 |se if ( |i == (Ne|
|00001610| 78 74 5f 42 75 74 74 6f | 6e 2d 31 29 2a 32 20 2b |xt_Butto|n-1)*2 +|
|00001620| 20 31 20 29 09 09 7b 0d | 09 09 09 09 09 09 47 65 | 1 )..{.|......Ge|
|00001630| 74 44 49 74 65 6d 28 68 | 65 6c 70 50 74 72 2c 20 |tDItem(h|elpPtr, |
|00001640| 4e 65 78 74 5f 42 75 74 | 74 6f 6e 2c 20 26 69 54 |Next_But|ton, &iT|
|00001650| 79 70 65 2c 20 26 69 48 | 61 6e 64 6c 65 2c 20 26 |ype, &iH|andle, &|
|00001660| 69 42 6f 78 29 3b 0d 09 | 09 09 09 09 09 69 43 74 |iBox);..|.....iCt|
|00001670| 6c 20 3d 20 28 43 6f 6e | 74 72 6f 6c 48 61 6e 64 |l = (Con|trolHand|
|00001680| 6c 65 29 69 48 61 6e 64 | 6c 65 3b 0d 09 09 09 09 |le)iHand|le;.....|
|00001690| 09 09 2f 2a 20 49 66 20 | 68 69 64 64 65 6e 2c 20 |../* If |hidden, |
|000016a0| 73 6b 69 70 20 42 4f 54 | 48 20 73 74 72 69 6e 67 |skip BOT|H string|
|000016b0| 73 2e 0d 09 09 09 09 09 | 09 2a 2a 20 49 66 20 64 |s.......|.** If d|
|000016c0| 65 2d 61 63 74 69 76 61 | 74 65 64 2c 20 73 6b 69 |e-activa|ted, ski|
|000016d0| 70 20 6a 75 73 74 20 6f | 6e 65 3a 20 2a 2f 0d 09 |p just o|ne: */..|
|000016e0| 09 09 09 09 09 69 66 20 | 28 20 28 28 2a 2a 69 43 |.....if |( ((**iC|
|000016f0| 74 6c 29 2e 63 6f 6e 74 | 72 6c 56 69 73 20 3d 3d |tl).cont|rlVis ==|
|00001700| 20 30 29 20 29 09 7b 0d | 09 09 09 09 09 09 09 2f | 0) ).{.|......./|
|00001710| 2f 20 53 6b 69 70 73 20 | 62 6f 74 68 20 62 65 63 |/ Skips |both bec|
|00001720| 61 75 73 65 20 63 6f 6e | 74 69 6e 75 65 20 64 6f |ause con|tinue do|
|00001730| 65 73 20 61 6e 6f 74 68 | 65 72 20 69 2b 2b 3a 0d |es anoth|er i++:.|
|00001740| 09 09 09 09 09 09 09 69 | 2b 2b 3b 0d 09 09 09 09 |.......i|++;.....|
|00001750| 09 09 09 63 6f 6e 74 69 | 6e 75 65 3b 0d 09 09 09 |...conti|nue;....|
|00001760| 09 09 09 7d 0d 09 09 09 | 09 09 09 65 6c 73 65 20 |...}....|...else |
|00001770| 69 66 20 28 20 28 28 2a | 2a 69 43 74 6c 29 2e 63 |if ( ((*|*iCtl).c|
|00001780| 6f 6e 74 72 6c 48 69 6c | 69 74 65 20 3d 3d 20 4f |ontrlHil|ite == O|
|00001790| 46 46 29 20 29 0d 09 09 | 09 09 09 09 09 63 6f 6e |FF) )...|.....con|
|000017a0| 74 69 6e 75 65 3b 0d 09 | 09 09 09 09 7d 0d 09 09 |tinue;..|....}...|
|000017b0| 09 0d 09 09 09 09 09 65 | 6c 73 65 20 69 66 20 28 |.......e|lse if (|
|000017c0| 20 69 20 3d 3d 20 28 50 | 72 65 76 5f 42 75 74 74 | i == (P|rev_Butt|
|000017d0| 6f 6e 2d 31 29 2a 32 20 | 2b 20 31 20 29 09 09 7b |on-1)*2 |+ 1 )..{|
|000017e0| 0d 09 09 09 09 09 09 47 | 65 74 44 49 74 65 6d 28 |.......G|etDItem(|
|000017f0| 68 65 6c 70 50 74 72 2c | 20 50 72 65 76 5f 42 75 |helpPtr,| Prev_Bu|
|00001800| 74 74 6f 6e 2c 20 26 69 | 54 79 70 65 2c 20 26 69 |tton, &i|Type, &i|
|00001810| 48 61 6e 64 6c 65 2c 20 | 26 69 42 6f 78 29 3b 0d |Handle, |&iBox);.|
|00001820| 09 09 09 09 09 09 69 43 | 74 6c 20 3d 20 28 43 6f |......iC|tl = (Co|
|00001830| 6e 74 72 6f 6c 48 61 6e | 64 6c 65 29 69 48 61 6e |ntrolHan|dle)iHan|
|00001840| 64 6c 65 3b 0d 09 09 09 | 09 09 09 69 66 20 28 20 |dle;....|...if ( |
|00001850| 28 28 2a 2a 69 43 74 6c | 29 2e 63 6f 6e 74 72 6c |((**iCtl|).contrl|
|00001860| 56 69 73 20 3d 3d 20 30 | 29 20 29 09 7b 0d 09 09 |Vis == 0|) ).{...|
|00001870| 09 09 09 09 09 69 2b 2b | 3b 0d 09 09 09 09 09 09 |.....i++|;.......|
|00001880| 09 63 6f 6e 74 69 6e 75 | 65 3b 0d 09 09 09 09 09 |.continu|e;......|
|00001890| 09 7d 0d 09 09 09 09 09 | 09 65 6c 73 65 20 69 66 |.}......|.else if|
|000018a0| 20 28 20 28 28 2a 2a 69 | 43 74 6c 29 2e 63 6f 6e | ( ((**i|Ctl).con|
|000018b0| 74 72 6c 48 69 6c 69 74 | 65 20 3d 3d 20 4f 46 46 |trlHilit|e == OFF|
|000018c0| 29 20 29 0d 09 09 09 09 | 09 09 09 63 6f 6e 74 69 |) ).....|...conti|
|000018d0| 6e 75 65 3b 0d 09 09 09 | 09 09 7d 0d 09 09 09 0d |nue;....|..}.....|
|000018e0| 09 09 09 09 09 65 6c 73 | 65 20 69 66 20 28 69 20 |.....els|e if (i |
|000018f0| 3d 3d 20 28 4d 61 73 74 | 5f 48 65 61 64 2d 31 29 |== (Mast|_Head-1)|
|00001900| 2a 32 20 2b 20 31 29 0d | 09 09 09 09 09 09 2f 2f |*2 + 1).|......//|
|00001910| 20 4e 4f 20 42 61 6c 6c | 6f 6f 6e 20 66 6f 72 20 | NO Ball|oon for |
|00001920| 65 6e 61 62 6c 65 64 20 | 63 61 73 65 3a 0d 09 09 |enabled |case:...|
|00001930| 09 09 09 09 63 6f 6e 74 | 69 6e 75 65 3b 0d 09 09 |....cont|inue;...|
|00001940| 09 0d 09 09 09 09 09 65 | 6c 73 65 20 69 66 20 28 |.......e|lse if (|
|00001950| 69 20 3d 3d 20 28 4d 65 | 73 73 61 67 65 5f 41 72 |i == (Me|ssage_Ar|
|00001960| 65 61 2d 31 29 2a 32 20 | 2b 20 31 29 09 09 7b 0d |ea-1)*2 |+ 1)..{.|
|00001970| 09 09 09 09 09 09 69 66 | 20 28 4c 61 73 74 5f 54 |......if| (Last_T|
|00001980| 79 70 65 20 3d 3d 20 74 | 65 78 74 29 0d 09 09 09 |ype == t|ext)....|
|00001990| 09 09 09 09 63 6f 6e 74 | 69 6e 75 65 3b 0d 09 09 |....cont|inue;...|
|000019a0| 09 09 09 09 65 6c 73 65 | 20 2f 2a 20 61 20 70 69 |....else| /* a pi|
|000019b0| 63 74 20 2a 2f 20 69 66 | 20 28 43 75 72 72 65 6e |ct */ if| (Curren|
|000019c0| 74 5f 54 6f 70 69 63 20 | 3d 3d 20 49 6e 69 74 69 |t_Topic |== Initi|
|000019d0| 61 6c 5f 50 69 63 74 75 | 72 65 29 0d 09 09 09 09 |al_Pictu|re).....|
|000019e0| 09 09 09 2f 2a 20 53 69 | 6e 63 65 20 74 68 65 20 |.../* Si|nce the |
|000019f0| 4d 65 73 73 61 67 65 5f | 41 72 65 61 20 69 73 20 |Message_|Area is |
|00001a00| 6c 61 73 74 20 69 6e 20 | 74 68 65 20 44 49 54 4c |last in |the DITL|
|00001a10| 2c 0d 09 09 09 09 09 09 | 09 2a 2a 20 69 20 2b 3d |,.......|.** i +=|
|00001a20| 20 32 20 77 6f 75 6c 64 | 20 74 61 6b 65 20 69 20 | 2 would| take i |
|00001a30| 62 65 79 6f 6e 64 20 69 | 74 73 20 6d 61 78 69 6d |beyond i|ts maxim|
|00001a40| 75 6d 20 76 61 6c 75 65 | 0d 09 09 09 09 09 09 09 |um value|........|
|00001a50| 2a 2a 20 42 45 46 4f 52 | 45 20 62 65 69 6e 67 20 |** BEFOR|E being |
|00001a60| 74 65 73 74 65 64 20 62 | 79 20 66 6f 72 28 2e 2e |tested b|y for(..|
|00001a70| 2e 29 2e 09 09 09 09 2a | 2f 0d 09 09 09 09 09 09 |.).....*|/.......|
|00001a80| 09 62 72 65 61 6b 3b 0d | 09 09 09 09 09 7d 0d 09 |.break;.|.....}..|
|00001a90| 09 09 0d 09 09 09 09 09 | 69 6e 48 65 6c 70 52 65 |........|inHelpRe|
|00001aa0| 63 74 20 3d 20 50 74 49 | 6e 52 65 63 74 28 6d 6f |ct = PtI|nRect(mo|
|00001ab0| 75 73 65 2c 20 26 67 44 | 79 6e 61 6d 69 63 42 61 |use, &gD|ynamicBa|
|00001ac0| 6c 6c 6f 6f 6e 73 5b 69 | 5d 2e 64 79 6e 61 6d 69 |lloons[i|].dynami|
|00001ad0| 63 52 29 3b 0d 09 09 09 | 09 09 69 66 20 28 69 6e |cR);....|..if (in|
|00001ae0| 48 65 6c 70 52 65 63 74 | 29 09 7b 0d 09 09 09 09 |HelpRect|).{.....|
|00001af0| 09 09 69 66 20 28 69 20 | 21 3d 20 67 4c 61 73 74 |..if (i |!= gLast|
|00001b00| 42 61 6c 6c 6f 6f 6e 29 | 09 7b 0d 0d 09 09 09 09 |Balloon)|.{......|
|00001b10| 09 09 09 69 66 20 28 53 | 68 6f 77 4d 79 4e 65 77 |...if (S|howMyNew|
|00001b20| 42 61 6c 6c 6f 6f 6e 0d | 09 09 09 09 09 09 09 09 |Balloon.|........|
|00001b30| 28 0d 09 09 09 09 09 09 | 09 09 09 26 67 44 79 6e |(.......|...&gDyn|
|00001b40| 61 6d 69 63 42 61 6c 6c | 6f 6f 6e 73 5b 69 5d 2e |amicBall|oons[i].|
|00001b50| 64 79 6e 61 6d 69 63 52 | 2c 0d 09 09 09 09 09 09 |dynamicR|,.......|
|00001b60| 09 09 09 6e 69 6c 2c 0d | 09 09 09 09 09 09 09 09 |...nil,.|........|
|00001b70| 09 67 44 79 6e 61 6d 69 | 63 42 61 6c 6c 6f 6f 6e |.gDynami|cBalloon|
|00001b80| 73 5b 69 5d 2e 64 79 6e | 61 6d 69 63 53 74 72 49 |s[i].dyn|amicStrI|
|00001b90| 44 2c 0d 09 09 09 09 09 | 09 09 09 09 67 44 79 6e |D,......|....gDyn|
|00001ba0| 61 6d 69 63 42 61 6c 6c | 6f 6f 6e 73 5b 69 5d 2e |amicBall|oons[i].|
|00001bb0| 64 79 6e 61 6d 69 63 53 | 74 72 49 6e 64 65 78 2c |dynamicS|trIndex,|
|00001bc0| 0d 09 09 09 09 09 09 09 | 09 09 73 74 64 57 44 45 |........|..stdWDE|
|00001bd0| 46 2c 0d 09 09 09 09 09 | 09 09 09 09 64 65 66 56 |F,......|....defV|
|00001be0| 61 72 2c 0d 09 09 09 09 | 09 09 09 09 09 6b 48 4d |ar,.....|.....kHM|
|00001bf0| 52 65 67 75 6c 61 72 57 | 69 6e 64 6f 77 0d 09 09 |RegularW|indow...|
|00001c00| 09 09 09 09 09 09 29 20 | 3d 3d 20 6e 6f 45 72 72 |......) |== noErr|
|00001c10| 29 09 09 67 4c 61 73 74 | 42 61 6c 6c 6f 6f 6e 20 |)..gLast|Balloon |
|00001c20| 3d 20 69 3b 0d 09 09 09 | 09 09 09 09 65 6c 73 65 |= i;....|....else|
|00001c30| 09 09 09 09 67 4c 61 73 | 74 42 61 6c 6c 6f 6f 6e |....gLas|tBalloon|
|00001c40| 20 3d 20 6e 6f 74 4d 69 | 6e 65 3b 0d 09 09 09 09 | = notMi|ne;.....|
|00001c50| 09 09 09 0d 09 09 09 09 | 09 09 7d 0d 09 09 09 09 |........|..}.....|
|00001c60| 09 09 62 72 65 61 6b 09 | 2f 2a 20 6f 75 74 20 6f |..break.|/* out o|
|00001c70| 66 20 66 6f 72 2d 6c 6f | 6f 70 20 2a 2f 09 3b 0d |f for-lo|op */.;.|
|00001c80| 09 09 09 09 09 7d 09 2f | 2a 20 69 6e 48 65 6c 70 |.....}./|* inHelp|
|00001c90| 52 65 63 74 20 2a 2f 0d | 09 09 09 0d 09 09 09 09 |Rect */.|........|
|00001ca0| 7d 09 2f 2a 20 66 6f 72 | 20 2a 2f 0d 09 09 09 09 |}./* for| */.....|
|00001cb0| 0d 09 09 09 09 69 66 20 | 28 21 69 6e 48 65 6c 70 |.....if |(!inHelp|
|00001cc0| 52 65 63 74 20 2f 2a 20 | 4e 4f 54 20 69 6e 20 61 |Rect /* |NOT in a|
|00001cd0| 6e 79 20 6f 66 20 74 68 | 65 6d 20 2a 2f 20 29 09 |ny of th|em */ ).|
|00001ce0| 09 7b 0d 09 09 09 09 09 | 2f 2a 20 49 20 70 61 73 |.{......|/* I pas|
|00001cf0| 73 20 22 6e 69 6c 22 20 | 74 6f 20 48 4d 53 68 6f |s "nil" |to HMSho|
|00001d00| 77 42 61 6c 6c 6f 6f 6e | 20 2d 2d 20 73 65 65 20 |wBalloon| -- see |
|00001d10| 49 4d 36 3a 20 2a 2f 0d | 09 09 09 09 09 28 76 6f |IM6: */.|.....(vo|
|00001d20| 69 64 29 20 48 4d 52 65 | 6d 6f 76 65 42 61 6c 6c |id) HMRe|moveBall|
|00001d30| 6f 6f 6e 28 29 3b 0d 09 | 09 09 09 09 67 4c 61 73 |oon();..|....gLas|
|00001d40| 74 42 61 6c 6c 6f 6f 6e | 20 3d 20 6e 6f 74 4d 69 |tBalloon| = notMi|
|00001d50| 6e 65 3b 0d 09 09 09 09 | 7d 0d 09 09 09 09 0d 09 |ne;.....|}.......|
|00001d60| 09 09 7d 09 2f 2a 20 65 | 6c 73 65 3a 20 6d 6f 75 |..}./* e|lse: mou|
|00001d70| 73 65 20 69 6e 20 61 63 | 74 69 76 65 20 48 65 6c |se in ac|tive Hel|
|00001d80| 70 20 57 69 6e 64 6f 77 | 20 2a 2f 0d 09 09 09 0d |p Window| */.....|
|00001d90| 09 09 7d 09 2f 2a 20 43 | 75 72 73 6f 72 20 69 6e |..}./* C|ursor in|
|00001da0| 20 53 4f 4d 45 20 61 63 | 74 69 76 65 20 77 69 6e | SOME ac|tive win|
|00001db0| 64 6f 77 20 2a 2f 0d 09 | 09 0d 09 09 65 6c 73 65 |dow */..|....else|
|00001dc0| 09 2f 2a 20 43 75 72 73 | 6f 72 20 69 6e 20 61 6e |./* Curs|or in an|
|00001dd0| 20 69 6e 61 63 74 69 76 | 65 20 77 69 6e 64 6f 77 | inactiv|e window|
|00001de0| 20 2a 2f 09 7b 0d 09 09 | 0d 09 09 09 2f 2a 20 54 | */.{...|..../* T|
|00001df0| 68 65 20 27 68 6f 76 72 | 27 20 72 65 73 6f 75 72 |he 'hovr|' resour|
|00001e00| 63 65 20 68 61 6e 64 6c | 65 73 20 74 68 69 73 20 |ce handl|es this |
|00001e10| 63 61 73 65 2e 20 2a 2f | 0d 09 09 09 0d 09 09 7d |case. */|.......}|
|00001e20| 09 2f 2a 20 43 75 72 73 | 6f 72 20 69 6e 20 53 4f |./* Curs|or in SO|
|00001e30| 4d 45 20 69 6e 61 63 74 | 69 76 65 20 77 69 6e 64 |ME inact|ive wind|
|00001e40| 6f 77 20 2a 2f 0d 09 09 | 0d 09 09 53 65 74 50 6f |ow */...|...SetPo|
|00001e50| 72 74 28 73 61 76 65 50 | 6f 72 74 29 3b 0d 0d 09 |rt(saveP|ort);...|
|00001e60| 7d 09 2f 2a 20 4d 6f 75 | 73 65 20 69 73 20 73 6f |}./* Mou|se is so|
|00001e70| 6d 65 77 68 65 72 65 20 | 69 6e 20 61 20 77 69 6e |mewhere |in a win|
|00001e80| 64 6f 77 20 2a 2f 0d 09 | 09 09 09 09 0d 7d 09 2f |dow */..|.....}./|
|00001e90| 2a 20 46 69 6e 64 41 6e | 64 53 68 6f 77 44 79 6e |* FindAn|dShowDyn|
|00001ea0| 61 6d 69 63 42 61 6c 6c | 6f 6f 6e 73 20 2a 2f 0d |amicBall|oons */.|
|00001eb0| 0d 0d 0d 0d 2f 2a 09 7b | 20 65 6e 64 20 66 69 6c |..../*.{| end fil|
|00001ec0| 65 20 22 68 65 6c 70 2e | 63 22 20 7d 20 20 2a 2f |e "help.|c" } */|
|00001ed0| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f00| 00 00 01 00 00 00 01 a6 | 00 00 00 a6 00 00 00 46 |........|.......F|
|00001f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f30| 06 68 65 6c 70 2e 63 b4 | 02 00 00 00 50 61 72 74 |.help.c.|....Part|
|00001f40| 53 49 54 78 00 00 00 00 | 00 00 00 00 00 01 67 14 |SITx....|......g.|
|00001f50| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00001f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f70| 00 00 a9 80 1b c9 00 00 | 00 00 00 00 01 ec 00 00 |........|........|
|00001f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002000| 00 00 00 94 00 00 00 b8 | 00 00 10 c1 00 00 10 c1 |........|........|
|00002010| 00 01 00 00 00 01 00 56 | 00 00 00 00 00 01 00 00 |.......V|........|
|00002020| 00 00 ff ff ff ff ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00002030| 00 00 00 00 ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00002040| 00 00 00 00 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00002050| ff ff 00 00 00 00 00 00 | 00 00 00 00 00 00 00 2c |........|.......,|
|00002060| 00 04 00 f8 02 7c 00 00 | 00 00 00 00 00 00 00 00 |.....|..|........|
|00002070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002090| 00 00 00 00 00 00 00 00 | 00 00 00 0a 00 00 1a 13 |........|........|
|000020a0| 01 1e 00 00 00 00 00 00 | 01 00 00 00 01 a6 00 00 |........|........|
|000020b0| 00 a6 00 00 00 46 00 68 | 07 0c 08 74 00 00 00 1c |.....F.h|...t....|
|000020c0| 00 46 00 01 45 50 4f 53 | 00 00 00 12 42 4b 50 54 |.F..EPOS|....BKPT|
|000020d0| 00 00 00 1e 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 5b 1f ff ff 00 00 00 98 | 00 00 00 00 00 00 00 00 |[.......|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+